<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>预解析的必要性</title>
</head>
<body>
    <!-- 模块预解析，只解析一次 -->
    <script type="module">
        import {obj} from './210-1.js';
        console.log(obj.get());
        import {} from './210-2.js';
    </script>
</body>
</html>